from sqlalchemy import Boolean, Column, Integer

from app.database.models.base import Base


class BotSettings(Base):
    __tablename__ = "bot_settings"

    id = Column(Integer, primary_key=True)
    order_archiving_status = Column(Boolean, server_default="0")
    order_notify_status = Column(Boolean, server_default="0")
    order_autorenew_status = Column(Boolean, server_default="0")
    proxy_checker_status = Column(Boolean, server_default="0")

    def __str__(self):
        return self.id

    def __repr__(self):
        return f"<Bot settings №{self.id}>"
